package com.dji.sdk.self.internal.controller;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.app.AppCompatDelegate;

public class BaseActivity extends AppCompatActivity {
    protected void onCreate(Bundle savedInstanceState){
        super.onCreate(savedInstanceState);
        ActivityController.addActivity(this);
    }
    protected void onDestroy(){
        super.onDestroy();
        ActivityController.removeActivity(this);
    }
    static {
        AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
    }
}
